#include "state_queue_full.h"

#include "State/agent.h"

STATE_QUEUE_FULL::STATE_QUEUE_FULL()
{

}

STATE_QUEUE_FULL::~STATE_QUEUE_FULL()
{

}

int STATE_QUEUE_FULL::check_transition_event_initialize()
{
    return 0;
}

int STATE_QUEUE_FULL::check_transition_event_terminate()
{
    return 0;
}

int STATE_QUEUE_FULL::check_transition_event_get_result()
{
    return 0;
}

int STATE_QUEUE_FULL::perform_transition_event_initialize(Agent *sub)
{
    sub->setSelfState(sub->pIdle);
    return 0;
}

int STATE_QUEUE_FULL::perform_transition_event_terminate(Agent *sub)
{
    sub->setSelfState(sub->pTerminated);
    return 0;
}

int STATE_QUEUE_FULL::perform_transition_event_get_result(Agent *sub)
{
    sub->setSelfState(sub->pQueuePartyFull);
    return 0;
}
